package com.lianxueda.drawing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lianxueda.drawing.domain.pojo.WxUser;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface WxUserService extends IService<WxUser> {


    boolean userExists(String openId);

    void updateUser(WxUser wxUser);

    void addUser(WxUser wxUser);

    WxUser findByOpenId(String openid);

    boolean updatePhoneAndRelationStudentId(String openId,String phone, Integer studentId, String relation, String name);






    List<Map<Integer, String>> getOpenIdByStudentIds(List<Integer> studentId);
}
